
package hasthi.metamodel.resource;

import hasthi.common.HasthiException;
import hasthi.common.constants.WSDMConstants.SystemState;


/**
 * Represents a managed resource where it's copy is held locally. 
 * @author Srinath Perera(hperera@cs.indiana.edu)
 */
public interface EditableManagedResource extends ManagedResource{
    public abstract void setProperty(String name, Object value) throws HasthiException;
    public abstract void setState(SystemState state) throws HasthiException;
    public void setLastUpdated(long lastUpdated);
    public String getGroup()throws HasthiException;
    public void setActive(boolean active); 
}

